home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / IIS5_01.CAB / IIS_fvform.asp < prev    next >
Encoding:
Text File  |  1998-11-12  |  2.6 KB  |  94 lines

  1. <%
  2. ScriptLanguagePreference = Request.Cookies("ScriptLanguagePreference")
  3.  
  4.  
  5. LessonFile = Request.ServerVariables("SCRIPT_NAME")
  6.  
  7.   If ScriptLanguagePreference = "" Then
  8.     ScriptLanguagePreference = Request.QueryString("ScriptLanguagePreference")
  9.     If ScriptLanguagePreference = "" Then
  10.       Response.Redirect "iiselect.asp?LessonFile=" & Server.URLEncode(LessonFile)
  11.     End If
  12.   End If
  13.  
  14. Response.Expires = 0
  15.  
  16. If ScriptLanguagePreference = "VBScript" Then
  17.   finlesson = "finance.asp"
  18. Else
  19.   finlesson = "financej.asp"
  20. End If
  21.  
  22.  %>
  23.  
  24. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  25. <html dir=ltr><HEAD>
  26. <TITLE>Future Value Calculation</TITLE> 
  27. <META NAME="ROBOTS" CONTENT="NOINDEX">
  28. <SCRIPT LANGUAGE="JavaScript">
  29. <!--
  30.     TempString = navigator.appVersion
  31.     if (navigator.appName == "Microsoft Internet Explorer"){    
  32. // Check to see if browser is Microsoft
  33.         if (TempString.indexOf ("4.") >= 0){
  34. // Check to see if it is IE 4
  35.             document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
  36.         }
  37.         else {
  38.             document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
  39.         }
  40.     }
  41.     else if (navigator.appName == "Netscape") {                        
  42. // Check to see if browser is Netscape
  43.         document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
  44.     }
  45.     else
  46.         document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
  47. //-->
  48. </script>
  49.  
  50. <META NAME="ROBOTS" CONTENT="NOINDEX"><META HTTP-EQUIV="Content-Type" content="text/html; charset=Windows-1252">
  51. </head> 
  52.  
  53. <body bgcolor="#FFFFFF" text="#000000"><font face="Verdana,Arial,Helvetica">
  54.  
  55. <H3><A NAME="H3_37661422">Use this form to determine the future value of a savings plan.</A></H3> 
  56.  
  57. <FORM METHOD=POST ACTION="<%= finlesson %>"> 
  58.  
  59. <TABLE> 
  60. <TR> 
  61. <TD>How much do you plan to save each month?</TD>
  62. <TD><INPUT TYPE=TEXT NAME=Payment> </TD>
  63. </TR>
  64. <TR> <TD>Enter the expected interest annual percentage rate. </TD>
  65. <TD><INPUT TYPE=TEXT NAME=APR> </TD>
  66. </TR>
  67. <TR> 
  68. <TD>For how many months do you expect to save? </TD>
  69. <TD><INPUT TYPE=TEXT NAME=TotPmts> </TD>
  70. </TR>
  71. <TR> 
  72. <TD>Do you make payments at the beginning or end of month? </TD>
  73. <TD><INPUT TYPE=RADIO NAME=PayType VALUE="Beginning" CHECKED>Beginning 
  74. <INPUT TYPE=RADIO NAME=PayType VALUE="End">End </TD>
  75. </TR>
  76. <TR> 
  77. <TD>How much is in this savings account now? </TD>
  78. <TD><INPUT TYPE=TEXT NAME=PVal> </TD>
  79. </TR>
  80. <TR> 
  81. <TD> </TD>
  82. <TD><INPUT TYPE=SUBMIT VALUE=" Calculate Future Value "></TD>
  83. </TR>
  84.  
  85. </TABLE> 
  86.  
  87. </FORM> 
  88.  
  89.  
  90.  
  91. </FONT> 
  92. </BODY> 
  93. </HTML> 
  94.